//OMP alloc helper
// $Id: omp_alloc_init.h 657 2011-02-23 14:14:22Z Oleg.Bulychov $
#pragma once

#include "src/heo/include/alloc_big.h"
#include "src/heo/include/alloc_lite.h"

//__________________________________________________________________________________
//__________________________________________________________________________________
class thread_alloc_init
{
public:
    static void enter_Thread(int nRank)
    {
        lite_allocator::enter_Thread(nRank);
        big_allocator::enter_Thread(nRank);
    }
    static void leave_Thread(int nRank)
    {
        lite_allocator::leave_Thread(nRank);
        big_allocator::leave_Thread(nRank);
    }
};

//EOF!
